// 微信公众平台

import request from '@/utils/request'
import { getPlaid } from '@/utils/auth'

export function getWechatShareReceiverList(page, size, search, plaid) {
  return request({
    url: '/platform/wechat/share_receiver',
    method: 'get',
    params: { page, size, search, plaid }
  })
}

export function getWechatShareReceiver(id) {
  return request({
    url: '/platform/wechat/share_receiver/' + id,
    method: 'get',
    params: { plaid: getPlaid() }
  })
}
